package com.peter.electronicmall.base

import android.os.Bundle
import android.support.annotation.LayoutRes
import android.support.v4.app.Fragment

/**
 * Created by peter on 2018/6/1.
 */
abstract class BaseFragment : Fragment() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    }

    @LayoutRes
    abstract fun getLayoutId():Int

    abstract fun initView()
}
